/**
 * Copyright (C), 2019-2023,
 * FileName: ListStudentDto
 * Author:   fanxquer
 * Date:     2023/7/21 14:21
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 邱富康           2023/7/21           1.0
 */
package com.hsteach.web.controller.visit.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsteach.web.controller.visit.dto.VisitPeer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 〈〉
 *
 * @author Qiu Fukang
 * @create 2023/7/21
 * @since 1.0.0
 */
@ApiModel(value = "ListRecordVo", description = "家访列表")
@Data
public class ListRecordVo implements Serializable {

    @ApiModelProperty(value = "家访id", required = true)
    private Long id;

    @ApiModelProperty(value = "学生id", required = true)
    private String personId;

    @ApiModelProperty(value = "学生姓名", required = true)
    private String personName;

    @ApiModelProperty(value = "家访名称", required = true)
    private String recordName;

    @ApiModelProperty(value = "性别", required = true)
    private String sex;

    @ApiModelProperty(value = "班级名", required = true)
    private String className;

    @ApiModelProperty(value = "家访时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date visitDate;
    @ApiModelProperty(value = "家访时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date visitTime;
    @ApiModelProperty(value = "学生类型", required = true)
    private List<String> tags;

    @ApiModelProperty(value = "同行人", required = false)
    private List<VisitPeer> peers;

    @ApiModelProperty(value = "是否有安全事件", required = false)
    private Integer hasSafeEvent;

    @ApiModelProperty(value = "安全事件记录", required = false)
    private String safeRecord;

}
